/*
 * RxResponse.h
 *
 *  Created on: Feb 17, 2013
 *      Author: maans
 */

#ifndef RXRESPONSE_H_
#define RXRESPONSE_H_

#include "RxDataResponse.h"

#ifdef SERIES_1

/**
 * Represents a Series 1 RX packet
 */
class RxResponse : public RxDataResponse {
public:
	RxResponse();
	virtual ~RxResponse();
	// remember rssi is negative but this is unsigned byte so it's up to you to convert
	uint8_t getRssi();
	uint8_t getOption();
	bool isAddressBroadcast();
	bool isPanBroadcast();
	uint8_t getDataLength();
	uint8_t getDataOffset();
	virtual uint8_t getRssiOffset() = 0;
};

#endif

#endif /* RXRESPONSE_H_ */
